package com.jhs.kjs.service.impl;

import java.util.List;

import com.jhs.kjs.dto.MenuDTO;
import com.jhs.kjs.dto.MenuPagingDTO;
import com.jhs.kjs.service.IAdminMenuService;
import com.jhs.kjs.service.dao.IAdminMenuMapper;

public class AdminMenuServiceImpl implements IAdminMenuService {

	private IAdminMenuMapper mapper;

	public void setMapper(IAdminMenuMapper mapper) {
		this.mapper = mapper;
	}

	@Override
	public List<MenuDTO> getAllMenuList() {
		return this.mapper.getAllMenuList();
	}

	@Override
	public List<MenuDTO> getMenuPagingList(MenuPagingDTO param) {
		return this.mapper.getMenuPagingList(param);
	}

	@Override
	public int getTotalCount() {
		return this.mapper.getTotalCount();
	}

	@Override
	public MenuDTO getMenuByMenuIndex(MenuDTO param) {
		return this.mapper.getMenuByMenuIndex(param);
	}

	@Override
	public void updateMenu(MenuPagingDTO param) {
		this.mapper.updateMenu(param);
	}

	@Override
	public void insertMenu(MenuPagingDTO param) {
		this.mapper.insertMenu(param);
	}

	@Override
	public int getTotalCountWithSearchValue(MenuDTO menu) {
		return this.mapper.getTotalCountWithSearchValue(menu);
	}

	@Override
	public List<MenuDTO> getUserMenuList() {
		return this.mapper.getUserMenuList();
	}

	@Override
	public List<MenuDTO> getNoticeMenuList() {
		return this.mapper.getNoticeMenuList();
	}
	
	@Override
	public List<MenuDTO> getAllUseMenuList() {
		return this.mapper.getAllUseMenuList();
	}

}
